/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cl.mechon.buchef.engine;

import org.newdawn.slick.tiled.*;
import org.newdawn.slick.SlickException;

/**
 *
 * @author Linkup
 */
public class MBMap extends Entity {

    RenderTiledMap my_map;
    
    public MBMap(String id){
        super(id);
    }
    
    public MBMap(String id, String a_map) throws SlickException{
        super(id);
        my_map= new RenderTiledMap(id,this, new TiledMap(a_map));
        my_map.setOwnerEntity(this);
        this.renderComponent = my_map;
    }
}
